<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::LevelSetDataPackage Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html">LevelSetDataPackage</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_s_p_h_1_1_level_set_data_package-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::LevelSetDataPackage Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Fixed memory level set data packed in a package. Level set is the signed distance to an interface, here, the surface of a body.  
 <a href="class_s_p_h_1_1_level_set_data_package.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="level__set_8h_source.html">level_set.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_data_package.html">SPH::BaseDataPackage&lt; 4, 6 &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae356bd37a8eb88c4881bee527c2a5ab6"><td class="memItemLeft" align="right" valign="top"><a id="ae356bd37a8eb88c4881bee527c2a5ab6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>assignAllPackageDataAddress</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> data_index, <a class="el" href="class_s_p_h_1_1_level_set_data_package.html">LevelSetDataPackage</a> *src_pkg, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> addrs_index)</td></tr>
<tr class="separator:ae356bd37a8eb88c4881bee527c2a5ab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0fd2b4fb02839b80af14457e5b2780c"><td class="memItemLeft" align="right" valign="top"><a id="ab0fd2b4fb02839b80af14457e5b2780c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeBasicData</b> (<a class="el" href="class_s_p_h_1_1_complex_shape.html">ComplexShape</a> &amp;complex_shape)</td></tr>
<tr class="separator:ab0fd2b4fb02839b80af14457e5b2780c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91205a43f7072c098cc9d385d56e7a6c"><td class="memItemLeft" align="right" valign="top"><a id="a91205a43f7072c098cc9d385d56e7a6c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeWithUniformData</b> (Real level_set)</td></tr>
<tr class="separator:a91205a43f7072c098cc9d385d56e7a6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7c9e0ab1a708e6d24c811bff1797799"><td class="memItemLeft" align="right" valign="top"><a id="aa7c9e0ab1a708e6d24c811bff1797799"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>computeKernelIntegrals</b> (<a class="el" href="class_s_p_h_1_1_level_set.html">LevelSet</a> &amp;level_set)</td></tr>
<tr class="separator:aa7c9e0ab1a708e6d24c811bff1797799"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fba01a090f8842a293be971238cb27a"><td class="memItemLeft" align="right" valign="top"><a id="a9fba01a090f8842a293be971238cb27a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>computeNormalDirection</b> ()</td></tr>
<tr class="separator:a9fba01a090f8842a293be971238cb27a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3acaee372dc28fb6ae02e0e50167d0b8"><td class="memItemLeft" align="right" valign="top"><a id="a3acaee372dc28fb6ae02e0e50167d0b8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>stepReinitialization</b> ()</td></tr>
<tr class="separator:a3acaee372dc28fb6ae02e0e50167d0b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf41cb8bff6a38474a4d492fb96ff6c3"><td class="memItemLeft" align="right" valign="top"><a id="abf41cb8bff6a38474a4d492fb96ff6c3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>markNearInterface</b> ()</td></tr>
<tr class="separator:abf41cb8bff6a38474a4d492fb96ff6c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_data_package"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_data_package')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_data_package.html">SPH::BaseDataPackage&lt; 4, 6 &gt;</a></td></tr>
<tr class="memitem:ab09ff3b485f95a72791b59ebec151a3f inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a id="ab09ff3b485f95a72791b59ebec151a3f"></a>
constexpr <a class="el" href="classint.html">int</a>&#160;</td><td class="memItemRight" valign="bottom"><b>PackageSize</b> ()</td></tr>
<tr class="separator:ab09ff3b485f95a72791b59ebec151a3f inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eda956dc5c506f6b34a3e58c42117d8 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a id="a4eda956dc5c506f6b34a3e58c42117d8"></a>
constexpr <a class="el" href="classint.html">int</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddressSize</b> ()</td></tr>
<tr class="separator:a4eda956dc5c506f6b34a3e58c42117d8 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a001e92e915ed2a9745a218a5749a6554 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a id="a001e92e915ed2a9745a218a5749a6554"></a>
constexpr <a class="el" href="classint.html">int</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AddressBufferWidth</b> ()</td></tr>
<tr class="separator:a001e92e915ed2a9745a218a5749a6554 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9978564932a31e75d70d84958f1d6074 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a id="a9978564932a31e75d70d84958f1d6074"></a>
constexpr <a class="el" href="classint.html">int</a>&#160;</td><td class="memItemRight" valign="bottom"><b>OperationUpperBound</b> ()</td></tr>
<tr class="separator:a9978564932a31e75d70d84958f1d6074 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90485a8cedc9c192ea2cba1e7f09abea inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a90485a8cedc9c192ea2cba1e7f09abea">initializePackageGeometry</a> (Vecd &amp;pkg_lower_bound, Real data_spacing)</td></tr>
<tr class="separator:a90485a8cedc9c192ea2cba1e7f09abea inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a459a1bc47563fddf826fa9534e2616 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">DataType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a8a459a1bc47563fddf826fa9534e2616">probeDataPackage</a> (<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; DataType &gt; &amp;pkg_data_addrs, const Vecd &amp;position)</td></tr>
<tr class="separator:a8a459a1bc47563fddf826fa9534e2616 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa569be3d8384b956a47c0deb1c44eab2 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#aa569be3d8384b956a47c0deb1c44eab2">computeGradient</a> (<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; InDataType &gt; &amp;in_pkg_data_addrs, <a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; OutDataType &gt; out_pkg_data_addrs, Real dt=0.0)</td></tr>
<tr class="separator:aa569be3d8384b956a47c0deb1c44eab2 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a165808192799c34995ed2d5f94c8a104 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a165808192799c34995ed2d5f94c8a104">computeNormalizedGradient</a> (<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; InDataType &gt; &amp;in_pkg_data_addrs, <a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; OutDataType &gt; out_pkg_data_addrs, Real dt=0.0)</td></tr>
<tr class="separator:a165808192799c34995ed2d5f94c8a104 inherit pub_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a06e00f3689429e2b174e3da6a7021900"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseMesh</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points)</td></tr>
<tr class="separator:a06e00f3689429e2b174e3da6a7021900 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a00a3bee5412ec539c8cd068d504cd45b"></a>
Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>MeshLowerBound</b> ()</td></tr>
<tr class="separator:a00a3bee5412ec539c8cd068d504cd45b inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a075244782af1e6dccff264c569e29dab"></a>
Real&#160;</td><td class="memItemRight" valign="bottom"><b>GridSpacing</b> ()</td></tr>
<tr class="separator:a075244782af1e6dccff264c569e29dab inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ad6f44b0d0886d0fd8cbbbded978fca8c"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>NumberOfGridPoints</b> ()</td></tr>
<tr class="separator:ad6f44b0d0886d0fd8cbbbded978fca8c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae302fc10695090e00d24c39f8e9a2678 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ae302fc10695090e00d24c39f8e9a2678"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GridIndexFromPosition</b> (const Vecd &amp;position)</td></tr>
<tr class="separator:ae302fc10695090e00d24c39f8e9a2678 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ad8ead27d4828a6cdc50e5cdd56b7ae86"></a>
Vecd&#160;</td><td class="memItemRight" valign="bottom"><b>GridPositionFromIndex</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="separator:ad8ead27d4828a6cdc50e5cdd56b7ae86 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1926fe2d95f91ae08e16c12e46fca210 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="a1926fe2d95f91ae08e16c12e46fca210"></a>
<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><b>transfer1DtoMeshIndex</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points, <a class="el" href="classsize__t.html">size_t</a> i)</td></tr>
<tr class="separator:a1926fe2d95f91ae08e16c12e46fca210 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab854b17cf6c10bf15eafcf1ad9c4f633 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a id="ab854b17cf6c10bf15eafcf1ad9c4f633"></a>
<a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>transferMeshIndexTo1D</b> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> number_of_grid_points, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="separator:ab854b17cf6c10bf15eafcf1ad9c4f633 inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2b22b19b1175c3e5d8c014e00a1602c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ae2b22b19b1175c3e5d8c014e00a1602c">MortonCode</a> (const <a class="el" href="classsize__t.html">size_t</a> &amp;i)</td></tr>
<tr class="separator:ae2b22b19b1175c3e5d8c014e00a1602c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a815229fa561c3cf114a6ddb77bdb247c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a815229fa561c3cf114a6ddb77bdb247c">transferMeshIndexToMortonOrder</a> (<a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> grid_index)</td></tr>
<tr class="separator:a815229fa561c3cf114a6ddb77bdb247c inherit pub_methods_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a17fa32e1900c2c859f5c06e580a524f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a17fa32e1900c2c859f5c06e580a524f6">is_core_pkg_</a></td></tr>
<tr class="separator:a17fa32e1900c2c859f5c06e580a524f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a776ead2b9096f2a140f09f5d8dffff46"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt; Real &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a776ead2b9096f2a140f09f5d8dffff46">phi_</a></td></tr>
<tr class="separator:a776ead2b9096f2a140f09f5d8dffff46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaaa9115eb6836a7d919b4a143657e555"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; Real &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#aaaa9115eb6836a7d919b4a143657e555">phi_addrs_</a></td></tr>
<tr class="separator:aaaa9115eb6836a7d919b4a143657e555"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ef36ded5c7f647128c922df9ef2787e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt; Vecd &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a3ef36ded5c7f647128c922df9ef2787e">n_</a></td></tr>
<tr class="separator:a3ef36ded5c7f647128c922df9ef2787e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1dc7ede6d286f469b1cfebe44667cd8"><td class="memItemLeft" align="right" valign="top"><a id="ac1dc7ede6d286f469b1cfebe44667cd8"></a>
<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; Vecd &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>n_addrs_</b></td></tr>
<tr class="separator:ac1dc7ede6d286f469b1cfebe44667cd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2387cbf375e4ab740706644905b68cd0"><td class="memItemLeft" align="right" valign="top"><a id="a2387cbf375e4ab740706644905b68cd0"></a>
<a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt; Real &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>kernel_weight_</b></td></tr>
<tr class="separator:a2387cbf375e4ab740706644905b68cd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1311585cfee68d864c51bf538849781"><td class="memItemLeft" align="right" valign="top"><a id="ac1311585cfee68d864c51bf538849781"></a>
<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; Real &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>kernel_weight_addrs_</b></td></tr>
<tr class="separator:ac1311585cfee68d864c51bf538849781"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae16433257b976b4dc71a0c47fe11aae6"><td class="memItemLeft" align="right" valign="top"><a id="ae16433257b976b4dc71a0c47fe11aae6"></a>
<a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt; Vecd &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>kernel_gradient_</b></td></tr>
<tr class="separator:ae16433257b976b4dc71a0c47fe11aae6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24af213b418a47158f34a0f07519a182"><td class="memItemLeft" align="right" valign="top"><a id="a24af213b418a47158f34a0f07519a182"></a>
<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; Vecd &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>kernel_gradient_addrs_</b></td></tr>
<tr class="separator:a24af213b418a47158f34a0f07519a182"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a528f9dc298532b16eb8f30c0f8f41705"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt; <a class="el" href="classint.html">int</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_level_set_data_package.html#a528f9dc298532b16eb8f30c0f8f41705">near_interface_id_</a></td></tr>
<tr class="separator:a528f9dc298532b16eb8f30c0f8f41705"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bca6444235813e9cea55300859d3803"><td class="memItemLeft" align="right" valign="top"><a id="a8bca6444235813e9cea55300859d3803"></a>
<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; <a class="el" href="classint.html">int</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>near_interface_id_addrs_</b></td></tr>
<tr class="separator:a8bca6444235813e9cea55300859d3803"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_class_s_p_h_1_1_base_data_package"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_s_p_h_1_1_base_data_package')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_data_package.html">SPH::BaseDataPackage&lt; 4, 6 &gt;</a></td></tr>
<tr class="memitem:af0bb3736a1690361c143004d97df5982 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#af0bb3736a1690361c143004d97df5982">data_lower_bound_</a></td></tr>
<tr class="separator:af0bb3736a1690361c143004d97df5982 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ecdb2f7cef628600fdeb5c847f16ec0 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a4ecdb2f7cef628600fdeb5c847f16ec0">pkg_index_</a></td></tr>
<tr class="separator:a4ecdb2f7cef628600fdeb5c847f16ec0 inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ce05b6dda6fbc903e2ede9e71d8862b inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a1ce05b6dda6fbc903e2ede9e71d8862b">is_inner_pkg_</a></td></tr>
<tr class="separator:a1ce05b6dda6fbc903e2ede9e71d8862b inherit pub_attribs_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_class_s_p_h_1_1_base_data_package"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_s_p_h_1_1_base_data_package')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_s_p_h_1_1_base_data_package.html">SPH::BaseDataPackage&lt; 4, 6 &gt;</a></td></tr>
<tr class="memitem:a533e964fd9ae146194533f7457cfc77b inherit pub_types_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a> = PackageDataMatrix&lt; DataType, PKG_SIZE &gt;</td></tr>
<tr class="separator:a533e964fd9ae146194533f7457cfc77b inherit pub_types_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78749e0cfc7e90525a72781510ebc3d5 inherit pub_types_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a> = PackageDataMatrix&lt; DataType *, ADDRS_SIZE &gt;</td></tr>
<tr class="separator:a78749e0cfc7e90525a72781510ebc3d5 inherit pub_types_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e7c2c1642340712061e846748cdf561 inherit pub_types_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a1e7c2c1642340712061e846748cdf561">PackageTemporaryData</a> = PackageDataMatrix&lt; DataType, ADDRS_SIZE &gt;</td></tr>
<tr class="separator:a1e7c2c1642340712061e846748cdf561 inherit pub_types_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_base_data_package"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_base_data_package')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_data_package.html">SPH::BaseDataPackage&lt; 4, 6 &gt;</a></td></tr>
<tr class="memitem:abda9f32c82964cb4ea44434603d56fd8 inherit pro_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#abda9f32c82964cb4ea44434603d56fd8">initializePackageDataAddress</a> (<a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt; DataType &gt; &amp;pkg_data, <a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; DataType &gt; &amp;pkg_data_addrs)</td></tr>
<tr class="separator:abda9f32c82964cb4ea44434603d56fd8 inherit pro_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdcfb09e2db66d6664c442f2f64690cf inherit pro_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#abdcfb09e2db66d6664c442f2f64690cf">assignPackageDataAddress</a> (<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; DataType &gt; &amp;pkg_data_addrs, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> &amp;addrs_index, <a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt; DataType &gt; &amp;pkg_data, <a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a> &amp;data_index)</td></tr>
<tr class="separator:abdcfb09e2db66d6664c442f2f64690cf inherit pro_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06c9aa37cb86d132547d2fc5cd1d894e inherit pro_methods_class_s_p_h_1_1_base_data_package"><td class="memItemLeft" align="right" valign="top">DataType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a06c9aa37cb86d132547d2fc5cd1d894e">CornerAverage</a> (<a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt; DataType &gt; &amp;pkg_data_addrs, <a class="el" href="class_s_p_h_1_1_s_vec.html">Veci</a> addrs_index, <a class="el" href="class_s_p_h_1_1_s_vec.html">Veci</a> corner_direction)</td></tr>
<tr class="separator:a06c9aa37cb86d132547d2fc5cd1d894e inherit pro_methods_class_s_p_h_1_1_base_data_package"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_mesh"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_mesh')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_mesh.html">SPH::BaseMesh</a></td></tr>
<tr class="memitem:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Vecd&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#ac8559448b24066e06263bff0aa5ba75b">mesh_lower_bound_</a></td></tr>
<tr class="separator:ac8559448b24066e06263bff0aa5ba75b inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top">Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#af6c2e186b771c3573486cdcbaa362b25">grid_spacing_</a></td></tr>
<tr class="separator:af6c2e186b771c3573486cdcbaa362b25 inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_p_h_1_1_s_vec.html">Vecu</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_mesh.html#a5e1e27e30924c3390d8cdd20dba606fd">number_of_grid_points_</a></td></tr>
<tr class="separator:a5e1e27e30924c3390d8cdd20dba606fd inherit pro_attribs_class_s_p_h_1_1_base_mesh"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Fixed memory level set data packed in a package. Level set is the signed distance to an interface, here, the surface of a body. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a17fa32e1900c2c859f5c06e580a524f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17fa32e1900c2c859f5c06e580a524f6">&#9670;&nbsp;</a></span>is_core_pkg_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> SPH::LevelSetDataPackage::is_core_pkg_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>If true, the package is near to zero level set. </p>

</div>
</div>
<a id="a3ef36ded5c7f647128c922df9ef2787e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ef36ded5c7f647128c922df9ef2787e">&#9670;&nbsp;</a></span>n_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt;Vecd&gt; SPH::LevelSetDataPackage::n_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>level set normalized gradient, to approximate interface normal direction </p>

</div>
</div>
<a id="a528f9dc298532b16eb8f30c0f8f41705"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a528f9dc298532b16eb8f30c0f8f41705">&#9670;&nbsp;</a></span>near_interface_id_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt;<a class="el" href="classint.html">int</a>&gt; SPH::LevelSetDataPackage::near_interface_id_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>mark the near interface cells. 0 for zero level set cut cells, -1 and 1 for negative and positive cut cells, <br  />
 0 can also be for other cells in the region closed by negative and positive cut cells </p>

</div>
</div>
<a id="a776ead2b9096f2a140f09f5d8dffff46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a776ead2b9096f2a140f09f5d8dffff46">&#9670;&nbsp;</a></span>phi_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a533e964fd9ae146194533f7457cfc77b">PackageData</a>&lt;Real&gt; SPH::LevelSetDataPackage::phi_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>the level set or signed distance. </p>

</div>
</div>
<a id="aaaa9115eb6836a7d919b4a143657e555"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaaa9115eb6836a7d919b4a143657e555">&#9670;&nbsp;</a></span>phi_addrs_</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_s_p_h_1_1_base_data_package.html#a78749e0cfc7e90525a72781510ebc3d5">PackageDataAddress</a>&lt;Real&gt; SPH::LevelSetDataPackage::phi_addrs_</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>address for the level set. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/geometries/<a class="el" href="level__set_8h_source.html">level_set.h</a></li>
<li>SPHINXsys/src/for_2D_build/geometries/<a class="el" href="for__2_d__build_2geometries_2level__set__supplementary_8cpp.html">level_set_supplementary.cpp</a></li>
<li>SPHINXsys/src/shared/geometries/<a class="el" href="level__set_8cpp.html">level_set.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
